
class Const():
    loaiQuanLyId = 1
    LIST_MENU = {'KinhDoanh':
                    ['QuanLyKhachHang.Owner', 
                     'QuanLyKhachHang.Staff', 
                     'QuanLyDonHang.Staff', 
                     'QuanLyDonHang.Owner',
                     'QuanLyDonHang.Accounting',
                     'DatHang.Manager',
                     'DatHang.Owner',
                     'DatHang.Staff'], 
                'Xuong':['HangSanXuatHomNay.Owner'], 
                'QuanLy':
                    ['QuanLyNhanVien.Owner',
                     'ChiTieuKinhDoanh.Owner', 
                     'PhanQuyen.Owner', 
                     'HoaHongNhanVien.Owner'], 
                'KeToan':
                    ['BaoCaoDoanhThu.Owner', 
                     'QuanLyCongNo.Owner', 
                     'QuanLyThuChi.Owner',
                     'QuanLyThuChi.Staff'], 
                'GiaoHang':
                    ['GiaoHangHomNay.Owner'], 
                'HangHoa':
                    ['QuanLyGiaBan.Staff',
                     'QuanLyGiaBan.Owner', 
                     'QuanLyHangHoa.Owner']
                }
    #LIST_PRIV = ['Staff', 'Owner']
    OTHER_PRIV = ['KinhDoanh.DatHang.Manager', 'KinhDoanh.QuanLyDonHang.Accounting']
    LOAI_NV = 1
    NV = 2
    

class LoaiNhanVien():
    QUAN_LY = 'QUAN_LY'
    KINH_DOANH = 'KINH_DOANH'
    CONG_TAC_VIEN = 'CONG_TAC_VIEN'
    KE_TOAN = 'KE_TOAN'
    QUAN_LY_GIAO_HANG = 'QUAN_LY_GIAO_HANG'
    TRUONG_CA_SAN_XUAT = 'TRUONG_CA_SAN_XUAT'
    XUONG = 'xuong'
    TRUONG_PHONG_KINH_DOANH = 'TRUONG_PHONG_KINH_DOANH'
    GIAO_HANG = 'GIAO_HANG'



class TrangThaiDonHang():
    DANG_DAT_HANG = 'Dang dat hang'
    DA_DAT_HANG = 'Da dat hang'
    KHOA = 'Khoa'
    DA_CO_HANG = 'Da co hang'
    DA_GIAO_HANG = 'Da giao hang'
    KHONG_GIAO_HANG = 'Khong giao hang'
    THANH_TOAN_MOT_PHAN = 'Thanh toan mot phan'
    THANH_TOAN_DU = 'Thanh toan du'

class TrangThaiGiaBan():
    DUYET = 'Duyet'
    CHUA_DUYET = 'Chua duyet'
    XOA = 'Xoa'
    
    
    